package com.cyb.beta.controller;

import com.cyb.beta.utils.StaticFactory;
import com.jfinal.core.Controller;

/**
 * Created by Administrator on 2015/6/9.
 */
public class BaseController extends Controller {

    @Override
    public void render(String view) {
        setAttr("systemConfig", StaticFactory.getSystemConfigMap());
        setAttr("contextPath", getRequest().getContextPath());
        super.render(view);
    }
}
